package com.ruoyi.law.domain.query;

import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * <p>
 * 律师订单
 * </p>
 *
 * @author code
 * @since 2022-11-27
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "LawOrderVip查询对象", description = "律师vip订单")
public class LawVipOrderQuery extends BaseEntity {

    @ApiModelProperty(value = "vip类型(1.vip 2.sVip)")
    private String vipType;

    @NotNull(message = "金额不能为空")
    @ApiModelProperty(value = "金额")
    private BigDecimal price;

}
